<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入login的css -->
    <link rel="stylesheet" href="./assets/css/login.css">
    <link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
    
</head>
<body>
    <!-- 这是一个登录/注册的页面 -->
    <!-- log模块 -->
    <div class="login-titter layui-main">
        <img src="./assets/images/logo.png" alt="">
    </div>
    <!-- 注册模块 -->
    <div class="login_loginbox">
        <!-- 头部 -->
        <div class="titter"></div>
        <!-- 表单 -->
        <form class="layui-form" id="form_reg" action="">
            <div class="layui-form-item">
                <i class="layui-icon-username layui-icon"></i>
                <input type="text" name="username" required  lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item">
                <i class="layui-icon-password  layui-icon"></i>
                <input id="pas" type="password" name="password" required  lay-verify="required|pwd" placeholder="请输入密码" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item">
                <i class="layui-icon-password  layui-icon"></i>
                <input type="password" name="repassword" required  lay-verify="required|pwd|repwd" placeholder="请再次输入密码" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item">
                <button id="login" class="layui-btn layui-btn-fluid colorLan" lay-submit>注册</button>
            </div>
            <div id="form-item">
                <a href="javascript:;" id="link-login">去登录</a>
            </div>
        </form>
    </div>
    <!-- 登录模块 -->
    <div class="login_regbox">
        <div class="titter"></div>
        <!-- 表单 -->
        <form id="form_logins" class="layui-form" action="">
            <div class="layui-form-item">
                <i class="layui-icon-username layui-icon"></i>
                <input type="text" name="username" required  lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item">
                <i class="layui-icon-password  layui-icon"></i>
                <input type="password" name="password" required  lay-verify="required|pwd" placeholder="请输入密码" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item">
                <button lay-submit class="layui-btn layui-btn-fluid colorLan">登录</button>
            </div>
            <div id="form-login">
                <a href="javascript:;" id="link-login">去注册</a>
            </div>
        </form>
    </div>
    <!-- <script src="https://layui.itze.cn/layui-v2.6.8/layui/layui.js"></script> -->
    <script src="./assets/lib/layui/layui.all.js"></script>
    <!-- 引入jQuery -->
    <script src="./assets/lib/jquery.js"></script>
    <script src="./assets/js/baseAPI.js"></script>
    <!-- 引入login的js -->
    <script src="./assets/js/login.js"></script>
    
</body>
</html>